import request from '@/utils/request'

// 查询运营统计列表
export function listQyOperationStatistics(query) {
  return request({
    url: '/energy/qyOperationStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询运营统计详细
export function getQyOperationStatistics(id) {
  return request({
    url: '/energy/qyOperationStatistics/' + id,
    method: 'get'
  })
}

// 新增运营统计
export function addQyOperationStatistics(data) {
  return request({
    url: '/energy/qyOperationStatistics',
    method: 'post',
    data: data
  })
}

// 修改运营统计
export function updateQyOperationStatistics(data) {
  return request({
    url: '/energy/qyOperationStatistics',
    method: 'put',
    data: data
  })
}

// 删除运营统计
export function delQyOperationStatistics(id) {
  return request({
    url: '/energy/qyOperationStatistics/' + id,
    method: 'delete'
  })
}
